package com.crl.module.live
{
	public class LiveConst
	{
		public static const SUCCESS:String="NetConnection.Connect.Success";
		public static const REJECTED:String="NetConnection.Connect.Rejected";
		public static const FAILED:String="NetConnection.Connect.Failed";
		public static const CLOSED:String="NetConnection.Connect.Closed";
		
		
		public static const UNPUBLISHNOTIFY:String="NetStream.Play.UnpublishNotify";
		public static const PUBLISHNOTIFY:String="NetStream.Play.PublishNotify";
		public static const START:String="NetStream.Play.Start";
		public static const STOP:String="NetStream.Play.Stop";
		public static const EMPTY:String="NetStream.Buffer.Empty";
		public static const FULL:String="NetStream.Buffer.Full";
		public static const NOFOUND:String="NetStream.Play.StreamNotFound";
		
		/**
		 * 重连尝试次数; 
		 */		
		public static const CHECK_RECONN_COUNT:int=3;
		
		
		/**
		 * 连接策略(优化连接数); 
		 */		
		public static const PUBLISHER_RECONN_TICK:int=1000;
		public static const RECEIVER_RECONN_TICK:int=3000;
		public static const NO_PUBLISHER_DISCONN_TICK:int=10000;
		
		public function LiveConst()
		{
		}
	}
}